package org.coder.provider.anno;

import org.apache.dubbo.config.annotation.Service;
import org.coder.api.EchoService;

/**
 * @description:
 * @author: coder97
 * @since: 2021/03/15
 */
@Service(loadbalance="random",weight = 300,timeout = 1000)
public class EchoServiceImpl implements EchoService {
    @Override
    public String echo(String message) {
        System.out.println("进入注解实现"+message);
        return "anno handler -"+message;
    }
}